

export default class Data {
  dbname = "mybook";
  version = "1.0";
  description = "Book Chapter stored";
  dbsize = 30 * 1024 * 1024;

  opendb(){
    return openDatabase(this.dbname,this.version,this.description,this.dbsize)
  }

  createTables(){
    var db = this.opendb();
    db.transaction(function (tx) {
      tx.executeSql("CREATE TABLE IF NOT EXISTS BOOKS ")
    })


  }






}

